// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router';
import VueResource from 'vue-resource'
import App from './App'
import Hello from '../src/components/Hello.vue'



Vue.use(VueRouter);
Vue.use(VueResource);

const routes = [
  {
    path: '/',
    component: App
  },
  {
    path: '/hello',
    component: Hello
  }
]

const router = new VueRouter({
  routes
})

const app = new Vue({
  router
}).$mount('#app')
